from requests import post, exceptions

from src.tools.retry import PrivateRetry


@PrivateRetry.retry_lite
def send_request(url: str, headers: dict, data: str):
    return post(url, data=data, timeout=10, headers=headers)
